﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpaceSquirrel.Automation
{
	public class LazorAutomation : SpriteAutomation
	{
		public LazorAutomation(Sprite sprite)
			: base(sprite)
		{ }

		public override void DoStuff(PlayScene scene)
		{
			double vx = this.sprite.bvx;
			this.sprite.dx = this.sprite.bvx;
			if (scene.id == "bike_level")
			{
				this.sprite.dx += 5; // TODO: shouldn't this be a constant somewhere?
			}
		}
	}
}
